<?php

/**
 * 首页控制器
 *
 * @author 煤老板 <meok23@sina.com>
 * @date   2017-06-16
 */

namespace app\front\controller;

use fw\base\Conf;
use fw\base\Rout;

class ControllerIndex
{
    public function index()
    {
        $index_res = explode('/', Conf::$all['index_resource']);
        Rout::gi()->direct($index_res[0], $index_res[1]);
    }
}
